#include <iostream>
#include <signal.h>

using namespace std;

int count = 0;

void signal_handler(int signum) {

	cout<<endl<<::count++<<endl<<"get "<<signum<<endl;
}

int main() {
	signal(SIGBUS,signal_handler);

	int loop_count = 500000000000ULL;

	while(loop_count--)
	{
		int x = 0;
		x = 86;
		int y = 0;
		int z = 0;

		y = x;

		z = 888;
	}
}
